<div class="container">
<div class="form-group">
	 <div class="col-lg-6">
       <form action="<?php print URL; ?>adminDigitalContent/updateDigitalContent" method="post" enctype="multipart/form-data" >
            <div class="form-group">
				<label>Title (EN)</label>
                <input type="text" name="title_en" value="<?php if (isset($digital_content->title_en)) echo htmlspecialchars($digital_content->title_en, ENT_QUOTES, 'UTF-8'); ?>" class="form-control" />
            </div>
            
            <div class="form-group">
				<label>Keywords (EN)</label>
                <input type="text" name="keywords_en" value="<?php if (isset($digital_content->keywords_en)) echo htmlspecialchars($digital_content->keywords_en, ENT_QUOTES, 'UTF-8'); ?>" class="form-control" />
            </div>
            
            <div class="form-group">
				<label>Historical Importance (EN)</label>
                <input type="text" name="historical_importance_en" value="<?php if (isset($digital_content->historical_importance_en)) echo htmlspecialchars($digital_content->historical_importance_en, ENT_QUOTES, 'UTF-8'); ?>" class="form-control" />
            </div>
            
            <div class="form-group">
				<label>Tags (EN)</label>
                <input type="text" name="tags_en" value="<?php if (isset($digital_content->tags_en)) echo htmlspecialchars($digital_content->tags_en, ENT_QUOTES, 'UTF-8'); ?>" class="form-control" />
            </div>
            
            <div class="form-group">
				<label>Map Geo Lat</label>
                <input type="text" name="geo_lat" value="<?php if (isset($digital_content->geo_lat)) echo htmlspecialchars($digital_content->geo_lat, ENT_QUOTES, 'UTF-8'); ?>" class="form-control" />
            </div>
			 <div class="form-group">
			    <label>Category</label>
			    <select class="form-control" name="category_id">
			        <?php 
					foreach( $categories as $category )
					{
					?>
					<option value="<?php print $category->category_id;?>" <?php if($digital_content->category_id == $category->category_id) print "selected"; ?>><?php print $category->name_en;?></option>
					<?php 
					}
					?>
			    </select>
			</div>
			<div class="form-group">
				<button name="submit_update_DigitalContent" value="submit" type="submit" class="btn btn-default">Save Digital Content Item</button>
			</div>
     </div>
     <div class="col-lg-6">
			<div class="form-group">
				<label>Title (AR)</label>
                <input type="text" name="title_ar" value="<?php if (isset($digital_content->title_ar)) echo htmlspecialchars($digital_content->title_ar, ENT_QUOTES, 'UTF-8'); ?>" class="form-control" />
            </div> 
            <div class="form-group">
				<label>Keywords (AR)</label>
                <input type="text" name="keywords_ar" value="<?php if (isset($digital_content->keywords_ar)) echo htmlspecialchars($digital_content->keywords_ar, ENT_QUOTES, 'UTF-8'); ?>" class="form-control" />
            </div>  
            <div class="form-group">
				<label>Historical Importance (AR)</label>
                <input type="text" name="historical_importance_ar" value="<?php if (isset($digital_content->historical_importance_ar)) echo htmlspecialchars($digital_content->historical_importance_ar, ENT_QUOTES, 'UTF-8'); ?>" class="form-control" />
            </div>
            <div class="form-group">
				<label>Tags (AR)</label>
                <input type="text" name="tags_ar" value="<?php if (isset($digital_content->tags_ar)) echo htmlspecialchars($digital_content->tags_ar, ENT_QUOTES, 'UTF-8'); ?>" class="form-control" />
            </div>
            <div class="form-group">
				<label>Map Geo Lon</label>
                <input type="text" name="geo_lon" value="<?php if (isset($digital_content->geo_lon)) echo htmlspecialchars($digital_content->geo_lon, ENT_QUOTES, 'UTF-8'); ?>" class="form-control" />
            </div>
     </div>
     <input type="hidden" name="digital_content_id" value="<?php print $digital_content->digital_content_id; ?>" />
     </form>
</div>
</div>
